<template>
  <div class="auditWrap">
      <img src="../../common/imgs/reject.png">
      <div>您的公司信息被驳回～</div>
      <div>请<a href="javascript:;">再次提交</a>公司信息</div>
  </div>
</template>
<script type="text/ecmascript-6">
import ApiService from "@/services/API-servies";
export default {
  mounted() {
    let _this = this;
    setTimeout(() => {
      if (this.$isBrower.isAndroid) {
        this.setAndTitleType();
      } else if (this.$isBrower.isIos) {
        this.setIosTitleType();
      }
    }, 0);
  },
  methods:{
      setAndTitleType() {
        app.setTitleType({
          isReturn: false,
          isSearch: false
        });
      },
      //ios 设置头部信息
      setIosTitleType(){
        let params = {
          isReturn: false,
          isSearch: false,
          isTitleSegment:false
        };
        this.$bridge.callhandler('needBarButton', params, (data) => {})
      },
      toCompanyInfo(){
          //获取公司
          ApiService.session.getSession().then(res => {
            if (res.meta.retCode === "0") {
              this.$router.push({
                name: "",
                path: "/companyInfo",
                query: {
                  companyCode: res.data.companyVo.companyCode,
                  companyType: res.data.companyVo.companyType,
                  ud: 1
                }
              });
            }
        });
      }
  }
};
</script>

<style scoped lang="less" rel="stylesheet/less">
.auditWrap {
  background: #fff;
  height: 100%;
  text-align: center;
  font-size: 28px;
  img {
    margin-top: 200px;
    width: 400px;
  }
  div {
    padding: 0 170px;
  }
  a{
    color: #3180FF;
  }
}
</style>

